package com.lmf.tool;

public enum ResultStatusEnum {
    SUCCESS(200,"请求成功"),
    ERROR(400,"空指针");
    private int code;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    ResultStatusEnum(int code) {
        this.code = code;
    }

    ResultStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

}
